# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do

 # 苹果开启双重验证
  # before_all do
   #  ENV["FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD"] = "生成的特殊密码"
   #  ENV["FASTLANE_SESSION"] = '生成的session cookie'
   # end

  lane :beta do
    gym export_method: "development"
    # 多个参数 可以使用逗号(, )分离   
    fir_cli api_token: "928baace35329c8c31f9d7c4db918572",  changelog: "lanchc"
  end

  # desc "上传蒲公英测试平台"
  # lane :beta do
  #   # add actions here: https://docs.fastlane.tools/actions
  #   build_app(export_method: "development")
  # 	pgyer(api_key: "598fae82c8821727e97887cfa43beb86", 
  #     user_key: "41bc1fbd26b9b79febe6f76e8cea9f74",  
  #     update_description: "修改需求调整版本")
  # end
end
